package com.itsu.vtalk.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author suben
 * @createtime 2020/6/20 16:05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_user")
public class User implements Serializable {

    @TableId("user_id")
    private String userId;

    @TableField("password")
    private String password;

    @TableField("user_name")
    private String userName;

    @TableField("admin_tag")
    private String adminTag;

    @TableField(exist = false)
    private boolean rem;

}
